package com.googlecode.garbagecan.jmsstudy.activemq.spring2;

import java.io.Serializable;

public class RegistrationReply implements Serializable {

	private String name;

	private boolean confirmed;

	public RegistrationReply(String name, boolean confirmed) {
		this.name = name;
		this.confirmed = confirmed;
	}

	public String getMessage() {
		return (confirmed) ? name + ": Confirmed" : name + ": Not Confirmed";
	}
}
